package com.cc.mapper;

import com.cc.model.EbOrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderDetailMapper {
    List<EbOrderDetail> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);

    //添加
    int save(EbOrderDetail ebOrderDetail);
    //删除
    int delete(Integer eod_id);

    //根据主键查询信息   主键:eod_id
    EbOrderDetail findById(int eod_id);
    //更新

    int upadateByPK(EbOrderDetail ebOrderDetail);



}
